<?php

namespace frontend\models\course;
use Yii;


class CourseInfo extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'edu_comment';
    }

    /**
     * @inheritdoc
     */
    public $verifyCode1;
    public $verifyCode2;
    public function rules()
    {
        return [
            ['verifyCode1', 'required'],
            ['verifyCode1', 'captcha', 'captchaAction' => 'course/captcha'],
            ['verifyCode2', 'required'],
            ['verifyCode2', 'captcha', 'captchaAction' => 'course/captcha'],
        ];
    }

    public function attributeLabels(){

    	return [
    		'verifyCode1' => '',
            'verifyCode2' => '',
    	];
    }
}